Contribution org.nuxeo.drive.adapters.hierarchy.permission--fileSystemItemFactory
In component org.nuxeo.drive.adapters.hierarchy.permission
org.nuxeo.drive.adapters.hierarchy.permission
inside nuxeo-drive-core-2023.6.12.jar /OSGI-INF/nuxeodrive-hierarchy-permission-adapter-contrib.xml
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).
This contribution is part of XML component Extension Point
Extension point fileSystemItemFactory of component FileSystemItemAdapterService.Registration Order
2
The registration order represents the order in which this contribution was registered on its target extention
point.
This will impact the override/merge behaviour when it is implemented on the target service, and is useful for
proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).
Contributed Items
XML Source
<extension point="fileSystemItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
<!-- User synchronization root parent factory (user workspace): order
before the "permissionSyncRootFactory" that has an order of 40 and before
the "defaultFileSystemItemFactory" that has an order of 50 -->
<fileSystemItemFactory class="org.nuxeo.drive.hierarchy.permission.factory.UserSyncRootParentFactory" name="userSyncRootParentFactory" order="30">
<parameters>
<parameter name="folderName">My Docs</parameter>
</parameters>
</fileSystemItemFactory>
<!-- Synchronization root factory: order before the "defaultFileSystemItemFactory"
that has an order of 50 -->
<fileSystemItemFactory class="org.nuxeo.drive.hierarchy.permission.factory.PermissionSyncRootFactory" facet="DriveSynchronized" name="permissionSyncRootFactory" order="40">
<parameters>
<parameter name="requiredPermission">Read</parameter>
<parameter name="userSyncRootParentFactory">userSyncRootParentFactory</parameter>
<parameter name="sharedSyncRootParentFactory">
sharedSyncRootParentFactory
</parameter>
</parameters>
</fileSystemItemFactory>
<!-- Shared synchronization root parent factory -->
<fileSystemItemFactory class="org.nuxeo.drive.hierarchy.permission.factory.SharedSyncRootParentFactory" name="sharedSyncRootParentFactory" order="100">
<parameters>
<parameter name="folderName">Other Docs</parameter>
</parameters>
</fileSystemItemFactory>
</extension>